package com.example.common.mapper;

import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
@CacheNamespace(blocking = true)
public interface IUserRightMapper {

    @Insert("insert into user_right values(#{memberId},#{rightId})")
    int insertIntoUserRight(Integer memberId,Integer rightId);
}
